package com.dst.eneity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Phone implements Serializable {
    private Integer id;
    private  String name;
    private BigDecimal price;
    private Integer state;
    private Integer brandid;

    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", state=" + state +
                ", brandid=" + brandid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getBrandid() {
        return brandid;
    }

    public void setBrandid(Integer brandid) {
        this.brandid = brandid;
    }

    public Phone() {
    }

    public Phone(Integer id, String name, BigDecimal price, Integer state, Integer brandid) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.state = state;
        this.brandid = brandid;
    }
}
